package com.ml.mall.entity.order;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.math.BigDecimal;
import lombok.Data;

@Data
@TableName(value = "sys_order_reduced_coupon")
public class SysOrderReducedCoupon implements Serializable {
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 扣减ID: N：1
     */
    @TableField(value = "reduced_id")
    private Long reducedId;

    /**
     * 优惠编码
     */
    @TableField(value = "coupon_code")
    private String couponCode;

    /**
     * 优惠卷金额
     */
    @TableField(value = "coupon_money")
    private BigDecimal couponMoney;

    private static final long serialVersionUID = 1L;
}